<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->

<?php
    include_once('jCart/jcart.php');
    include 'conection.php';
    if($_SERVER['REQUEST_URI'] != "/Fragandy/login.php"){
        if($_SERVER['REQUEST_URI'] != "/Fragandy/logout.php"){
            $_SESSION["url"] = $_SERVER['REQUEST_URI'];
        }
       }
    /*
     * Mac...
     * if($_SERVER['REQUEST_URI'] != "/~ETorres/Fragandy/login.php"){
        if($_SERVER['REQUEST_URI'] != "/~ETorres/Fragandy/logout.php"){
            $_SESSION["url"] = $_SERVER['REQUEST_URI'];
        }
       }
     * 
     * 
     * Servidor...
     * 
     * if($_SERVER['REQUEST_URI'] != "/login.php"){
        if($_SERVER['REQUEST_URI'] != "/logout.php"){
            $_SESSION["url"] = $_SERVER['REQUEST_URI'];
        }
      }
     *
     * Windows...
     * if($_SERVER['REQUEST_URI'] != "/Fragandy/login.php"){
        if($_SERVER['REQUEST_URI'] != "/Fragandy/logout.php"){
            $_SESSION["url"] = $_SERVER['REQUEST_URI'];
        }
       }
     * 
     */
    
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
	
        <!-- Contents -->
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<meta http-equiv="Content-Language" content="en" />
	<meta http-equiv="last-modified" content="11/10/2011 22:25:11" />
	<meta http-equiv="Content-Type-Script" content="text/javascript" />
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<!-- imCustomHead -->
	<meta http-equiv="Expires" content="0" />
	<meta name="Resource-Type" content="document" />
	<meta name="Distribution" content="global" />
	<meta name="Robots" content="index, follow" />
	<meta name="Revisit-After" content="21 days" />
	<meta name="Rating" content="general" />
	<!-- Others -->
	<meta name="Generator" content="Incomedia WebSite X5 Evolution 8.0.11 - www.websitex5.com" />
	<meta http-equiv="ImageToolbar" content="False" />
	<meta name="MSSmartTagsPreventParsing" content="True" />
	
	<!-- Parent -->
	<link rel="sitemap" href="imsitemap.html" title="General Site Map" />
        
	<!-- Res -->
	<script type="text/javascript" src="js/x5engine.js"></script>
	<link rel="stylesheet" type="text/css" href="css/X5/styles.css" media="screen, print" />
	<link rel="stylesheet" type="text/css" href="css/X5/template.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/X5/print.css" media="print" />
	<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="res/iebehavior.css" media="screen" /><![endif]-->
	<link rel="stylesheet" type="text/css" href="css/X5/home.css" media="screen, print" />
	<link rel="stylesheet" type="text/css" href="css/X5/handheld.css" media="handheld" />
	<link rel="alternate stylesheet" title="High contrast - Accessibility" type="text/css" href="css/X5/accessibility.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="jCart/css/style.css" media="screen, print" />
        <link rel="stylesheet" type="text/css" media="screen, projection" href="jCart/css/jcart.css" />
        <link type="text/css" href="css/main.css" rel="stylesheet" />	
        <link type="text/css" href="css/ui-lightness/jQuery-UI.css" rel="stylesheet" />	
        <link type="text/css" href="css/validationEngine.jquery.css" rel="stylesheet" />	

        
        <script src="js/jquery-1.6.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="js/jQuery-UI.js"></script>
        <script type="text/javascript" src="js/jQuery-DataTables.js"></script>
        <script type="text/javascript" src="js/jQuery.validationEngine.js"></script>
        <script type="text/javascript" src="js/languages/jquery.validationEngine-es.js"></script>

        <script type="text/javascript" src="js/main.js"></script>
</head>
<body>
    
    <div id="imSite">
    <div id="imHeader">
        <?php if (!$_SESSION["estado"]) { ?>
            <div class="login">
                <form action="login.php" method="post">
                    <input type="text" name="user" placeholder="Usuario" size="10" />
                    <input type="password" name="password" placeholder="Contrase&ntilde;a" size="10" />
                    <input type="submit" value="Iniciar Sesi&oacute;n" />
                </form>
            </div>
        <?php } else { ?>
            <div class="login">
                <label class="name"><?php echo $_SESSION["user"]; ?></label><a class="logout" href="logout.php">Cerrar Sesi&oacute;n</a>
                 
            </div>
       
        <?php } ?>
    </div>
    <div class="imInvisible">
    <hr />
    <a href="#imGoToCont" title="Skip the main menu">Go to content</a>
    </div>
    <div id="imBody">
            <div id="imMenuMain">

    <!-- Menu START -->
    <a name="imGoToMenu"></a><p class="imInvisible">Main menu:</p>
    <div id="imMnMn">
    <ul>
            <li><a class="imMnItm_1" href="index.php" title=""><span class="imHidden">Quienes Somos</span></a></li>
            <li><a class="imMnItm_2" ><span class="imHidden">Fragancias Femeninas</span></a>
                <ul>
                    <li><a href="citricos.php" title="">Citricos</a></li>
                    <li><a href="floral.php" title="">Floral</a></li>
                    <li><a href="fougere.php" title="">Fougere</a></li>
                    <li><a href="chypre.php" title="">Chypre</a></li>
                    <li><a href="madera.php" title="">Madera</a></li>
                    <li><a href="oriental.php" title="">Oriental- Ambar</a></li>
                    <li><a href="cuero.php" title="">Los cuero</a></li>
                </ul>
            </li>
            <li><a class="imMnItm_3" ><span class="imHidden">Fragancias Masculinas</span></a>
                <ul>
                    <li><a href="citricos-1.php" title="">Citricos</a></li>
                    <li><a href="floral-1.php" title="">Floral</a></li>
                    <li><a href="fougere-1.php" title="">Fougere</a></li>
                    <li><a href="chypre-1.php" title="">Chypre</a></li>
                    <li><a href="madera-1.php" title="">Madera</a></li>
                    <li><a href="oriental-1.php" title="">Oriental- Ambar</a></li>
                    <li><a href="cuero-1.php" title="">Los cuero</a></li>
                </ul>
            </li>
            <li><a class="imMnItm_4" href="empresa.php" title=""><span class="imHidden">La Empresa</span></a></li>
            <li><a class="imMnItm_5" href="pedidos.php" title=""><span class="imHidden">Pedidos</span></a></li>
            <li><a class="imMnItm_6" href="contactenos.php  " title=""><span class="imHidden">Contactenos</span></a></li>
             <?php if ($_SESSION["estado"]) { ?>
            <li><a class="imMnItm_7" href="cargar.php" title=""><span class="imHidden">Cargar</span></a></li>
            <?php }  ?>
    </ul>
    </div>
    <!-- Menu END -->
    
    </div>
    <hr class="imInvisible" />
    <a name="imGoToCont"></a>
    <div id="imContent">
